package com.gzs.learn.payment.service;

import com.gzs.learn.inf.BaseResponseDto;
import com.gzs.learn.inf.PageResponseDto;
import com.gzs.learn.payment.inf.dto.web.PaymentList;
import com.gzs.learn.payment.inf.dto.web.req.PaymentSearchDto;

/**
 * 查询支付系统数据信息,支付列表、支付成功列表等信息
 *
 * @author guanzhisong
 * @date 2021-08-14
 */
public interface IPaymentWebService {
    /**
     * 查询支付请求列表
     *
     * @param payment 支付请求
     * @return 支付请求集合
     */
    PageResponseDto<PaymentList> searchPaymentList(PaymentSearchDto payment);

    /**
     * 获取单条数据
     *
     * @param serial
     * @return
     */
    BaseResponseDto<PaymentList> paymentDetail(Long serial);
}
